#ifndef SCENE_H
#define SCENE_H

#include <SDL/SDL.h>
#include <string>
#include "MacroDef.h"
#include "Background.h"

using namespace std;

class Pig;
class FlyBird;

class Scene
{
private:
	SDL_Surface* bgImg[BGTYPE_NUM];
	SDL_Surface* mapImg[ELETYPE_NUM];
	SDL_Rect camera;

	Pig* pig;
	FlyBird* flyBird;
	Background* background[BG_NUM];
	int map[LEVEL_HEIGHT / SIZEY][LEVEL_WIDTH / SIZEX];
	
	void loadBgImg();
	void loadMapImg();
	void loadMapFile(string filePath);
	void setBackground();

public:
	Scene();
	intXY getMap();
	SDL_Rect* getCamera();
	Background** getBackground();
	SDL_Surface** getMapImg();
	
	void moveScene(int v);
};

#endif